package com.yunhe.javabean;

public class News {
  private int id;
  private String title;
  private String context;
  private String creatdate;
  private String author;
public News(int id, String title, String context, String creatdate,
		String author) {
	super();
	this.id = id;
	this.title = title;
	this.context = context;
	this.creatdate = creatdate;
	this.author = author;
}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getTitle() {
	return title;
}
public void setTitle(String title) {
	this.title = title;
}
public String getContext() {
	return context;
}
public void setContext(String context) {
	this.context = context;
}
public String getCreatdate() {
	return creatdate;
}
public void setCreatdate(String creatdate) {
	this.creatdate = creatdate;
}
public String getAuthor() {
	return author;
}
public void setAuthor(String author) {
	this.author = author;
}
public News() {
	super();
	// TODO Auto-generated constructor stub
}
@Override
public String toString() {
	return "News [id=" + id + ", title=" + title + ", context=" + context
			+ ", creatdate=" + creatdate + ", author=" + author + "]";
}
  
  
}
